package com.example.md.common.enums;

public enum UserEnum implements BaseError {
    ADMIN_NOT_EXIST(402, "管理员用户不存在");

    private final int code;
    private final String message;

    UserEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public int code() {
        return code;
    }

    @Override
    public String message() {
        return message;
    }
}
